import Vue from "vue";
import Router from "vue-router";
import index from "@/pages/index/index";
import layout from "@/pages/layout/layout";
Vue.use(Router);

export default new Router({
  base: process.env.BASE_URL,
  routes: [
    {
      path:"/",
      component:layout,
      meta:{title:"首页"},
      children:[
        {
          path:"/",
          name:"index",
          component:index
        }
      ]
    }
  ]
});
